<?php
//开始页码
		//计算总页数
		$pages = ceil($rows/$this->pagesize);
		//开始页码
		//结束页码
		$start = $this->page-5;
		$end = $this->page+4;
		if($this->page<=6){
			$start = 1;
			$end = 10;
		}
		if($this->page>=$pages-4){
			$start = $pages-9;
			$end = $pages;
		}
		if($pages<10){
			$start = 1;
			$end = $pages;
		}
?>